<?php
$routeDefault = "form";
$request = Zend_Controller_Front::getInstance()->getRequest();
if (empty($request)) {
    $routeDefault = Engine_Api::_()->getApi('settings', 'core')->getSetting('frmcreator.routedefault',
        "form");
}

return array(
    'package' => array(
        'type' => 'module',
        'name' => 'frmcreator',
        'version' => '4.0.0',
        'path' => 'application/modules/Frmcreator',
        'title' => 'Form Creator',
        'description' => 'Form Creator',
        'author' => '<a href="http://leopedia.com/">LeoPedia Web Solutions</a>',
        'callback' => array('class' => 'Engine_Package_Installer_Module', ),
        'actions' => array(
            0 => 'install',
            1 => 'upgrade',
            2 => 'refresh',
            3 => 'enable',
            4 => 'disable',
            ),
        'directories' => array(0 => 'application/modules/Frmcreator', ),
        'files' => array(0 => 'application/languages/en/frmcreator.csv', ),
        ),
    'items' => array(
        'frmcreator_form',
        'frmcreator_element',
        'frmcreator_option',
        'frmcreator_validator',
        ),
    'routes' => array(
    'frmcreator_view' => array(
            'route' => $routeDefault . '/:action/*',
            'defaults' => array(
                'module' => 'frmcreator',
                'controller' => 'index',
                'action' => 'index',  
                
                ),
            'reqs' => array(                 
                ),
            ), 
    ),

    ); ?>